package com.ruoyi.youtian.domain.vo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.youtian.domain.FaultRecord;
import com.ruoyi.youtian.domain.FaultRecordDetail;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author li long
 * @Date 2022/9/22
 * @Version V1.0.0
 * @Description
 */
@Data
public class FaultRecordVO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 8449009141919379114L;

    private FaultRecord faultRecord;

    private List<FaultRecordDetail> faultRecordDetailList;

    private ReportDetailsVo reportDetailsVos;

    /** 单位id **/
    private Long deptId;

    /** 单位名称 **/
    private String deptName;


    /** 二级单位ID **/
    private Integer ejdwId;

    /** 二级单位名称 **/
    private String ejdwName;

    /** 作业区ID **/
    private Integer zyqId;

    /** 作业区名称 **/
    private String zyqName;

    /**部门Id**/
    private Integer bmId;

    /** 部门名称 **/
    private String bmName;


    public FaultRecordVO() {
    }

    public FaultRecordVO( FaultRecord faultRecord, List<FaultRecordDetail> faultRecordDetailList, ReportDetailsVo reportDetailsVos, Long deptId, String deptName, Integer ejdwId, String ejdwName, Integer zyqId, String zyqName, Integer bmId, String bmName) {
        this.faultRecord = faultRecord;
        this.faultRecordDetailList = faultRecordDetailList;
        this.reportDetailsVos = reportDetailsVos;
        this.deptId = deptId;
        this.deptName = deptName;
        this.ejdwId = ejdwId;
        this.ejdwName = ejdwName;
        this.zyqId = zyqId;
        this.zyqName = zyqName;
        this.bmId = bmId;
        this.bmName = bmName;
    }

    /**
     * 获取
     * @return faultRecord
     */
    public FaultRecord getFaultRecord() {
        return faultRecord;
    }

    /**
     * 设置
     * @param faultRecord
     */
    public void setFaultRecord(FaultRecord faultRecord) {
        this.faultRecord = faultRecord;
    }

    /**
     * 获取
     * @return faultRecordDetailList
     */
    public List<FaultRecordDetail> getFaultRecordDetailList() {
        return faultRecordDetailList;
    }

    /**
     * 设置
     * @param faultRecordDetailList
     */
    public void setFaultRecordDetailList(List<FaultRecordDetail> faultRecordDetailList) {
        this.faultRecordDetailList = faultRecordDetailList;
    }

    /**
     * 获取
     * @return reportDetailsVos
     */
    public ReportDetailsVo getReportDetailsVos() {
        return reportDetailsVos;
    }

    /**
     * 设置
     * @param reportDetailsVos
     */
    public void setReportDetailsVos(ReportDetailsVo reportDetailsVos) {
        this.reportDetailsVos = reportDetailsVos;
    }

    /**
     * 获取
     * @return deptId
     */
    public Long getDeptId() {
        return deptId;
    }

    /**
     * 设置
     * @param deptId
     */
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    /**
     * 获取
     * @return deptName
     */
    public String getDeptName() {
        return deptName;
    }

    /**
     * 设置
     * @param deptName
     */
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    /**
     * 获取
     * @return ejdwId
     */
    public Integer getEjdwId() {
        return ejdwId;
    }

    /**
     * 设置
     * @param ejdwId
     */
    public void setEjdwId(Integer ejdwId) {
        this.ejdwId = ejdwId;
    }

    /**
     * 获取
     * @return ejdwName
     */
    public String getEjdwName() {
        return ejdwName;
    }

    /**
     * 设置
     * @param ejdwName
     */
    public void setEjdwName(String ejdwName) {
        this.ejdwName = ejdwName;
    }

    /**
     * 获取
     * @return zyqId
     */
    public Integer getZyqId() {
        return zyqId;
    }

    /**
     * 设置
     * @param zyqId
     */
    public void setZyqId(Integer zyqId) {
        this.zyqId = zyqId;
    }

    /**
     * 获取
     * @return zyqName
     */
    public String getZyqName() {
        return zyqName;
    }

    /**
     * 设置
     * @param zyqName
     */
    public void setZyqName(String zyqName) {
        this.zyqName = zyqName;
    }

    /**
     * 获取
     * @return bmId
     */
    public Integer getBmId() {
        return bmId;
    }

    /**
     * 设置
     * @param bmId
     */
    public void setBmId(Integer bmId) {
        this.bmId = bmId;
    }

    /**
     * 获取
     * @return bmName
     */
    public String getBmName() {
        return bmName;
    }

    /**
     * 设置
     * @param bmName
     */
    public void setBmName(String bmName) {
        this.bmName = bmName;
    }

    public String toString() {
        return "FaultRecordVO{serialVersionUID = " + serialVersionUID + ", faultRecord = " + faultRecord + ", faultRecordDetailList = " + faultRecordDetailList + ", reportDetailsVos = " + reportDetailsVos + ", deptId = " + deptId + ", deptName = " + deptName + ", ejdwId = " + ejdwId + ", ejdwName = " + ejdwName + ", zyqId = " + zyqId + ", zyqName = " + zyqName + ", bmId = " + bmId + ", bmName = " + bmName + "}";
    }
}
